package com.andova.component.im;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import androidx.annotation.IntDef;

import static com.andova.component.im.IMFriendAllowType.IM_FRIEND_ALLOW_ANY;
import static com.andova.component.im.IMFriendAllowType.IM_FRIEND_DENY_ANY;
import static com.andova.component.im.IMFriendAllowType.IM_FRIEND_NEED_CONFIRM;

/**
 * Created by Administrator on 2017-12-05.
 * <p>响应枚举</p>
 *
 * @author kzaxil
 * @since 1.0.1
 */
@IntDef({IM_FRIEND_ALLOW_ANY, IM_FRIEND_DENY_ANY, IM_FRIEND_NEED_CONFIRM})
@Retention(RetentionPolicy.SOURCE)
public @interface IMFriendAllowType {
    /**
     * 允许任何人添加好友
     */
    int IM_FRIEND_ALLOW_ANY = 0x60;
    /**
     * 拒绝任何人添加好友
     */
    int IM_FRIEND_DENY_ANY = 0x61;
    /**
     * 添加好友需要验证
     */
    int IM_FRIEND_NEED_CONFIRM = 0x62;
}